<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib uri="/struts-tags" prefix="s" %>

				<div class="category">
					<div class="top">书籍分类</div>
					<div class="middle clearfix">
						<ul class="menu">
							<s:iterator value="#request.level1Categories">
							<li class="mainCategory">
								<a href='searchBooks.do?category=<s:property value="categoryID"/>'><s:property value="name"/></a>
							</li>
								<s:iterator value="#request.subCategories.get(categoryID)">
							<li>
								<a href='searchBooks.do?category=<s:property value="categoryID"/>'><span class="icon">&nbsp;</span><s:property value="name"/></a>
							</li>
								</s:iterator>
							</s:iterator>
						</ul>
					</div>
					<div class="bottom"></div>
				</div>